<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags"  prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<body>

<s:actionerror/>

<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#c9c9c9">
<s:form action="/saveUser.action" method="post" > 
   <tr>
    <td><s:textfield name="user.uno" label="用户名"/></td>
    <td><s:textfield name="user.upassword" label="密码"/></td>
    <td><s:select name="user.utype"  list="#{'学生':'学生','管理员':'管理员'}" label="用户类型"/></td>
    <td><s:submit value="添加" theme = "simple"/><s:reset value="重置" theme = "simple"/></td>
   </tr> 
   <s:token/>
</s:form>
</table>

</body>
</html>

